package com.tang.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author:Mr.Tang
 * @DATE:2023/12/21 18:46
 */
@RestController
public class TangController {

    @GetMapping("tang")
    public String tang(){
        return "<h1>欢迎来到SpringBoot世界，我是唐</h1>";
    }

    @GetMapping("helloworld")
    public String helloworld(){
        return "helloworld";
    }
}
